/**
 * @author luguoxiang
 * @date 2022/7/5
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
import { request } from '@/soar';

const basePath = '/system/org-selector';

export default {
  ids: (ids: string[]) => request.get(`${basePath}/ids`, { params: { ids } }),
  query: (keyword: string, types: any) => request.get(`${basePath}/query`, { params: { keyword, types } }),
  org: (parentId: string) => request.get(`${basePath}/org`, { params: { parentId } }),
};
